package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZQW
 */
public class Expenseclass extends Model<Expenseclass> {

private static final long serialVersionUID=1L;

    /**
     * ID主键
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 费用科目编码
     */
    @TableField("ExpCode")
    private String ExpCode;

    /**
     * 费用科目名称
     */
    @TableField("ExpName")
    private String ExpName;

    /**
     * 删除标记
     */
    @TableField("DelMark")
    private Integer DelMark;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getExpCode() {
        return ExpCode;
    }

    public void setExpCode(String ExpCode) {
        this.ExpCode = ExpCode;
    }

    public String getExpName() {
        return ExpName;
    }

    public void setExpName(String ExpName) {
        this.ExpName = ExpName;
    }

    public Integer getDelMark() {
        return DelMark;
    }

    public void setDelMark(Integer DelMark) {
        this.DelMark = DelMark;
    }

    public static final String ID = "ID";

    public static final String EXPCODE = "ExpCode";

    public static final String EXPNAME = "ExpName";

    public static final String DELMARK = "DelMark";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Expenseclass{" +
        "id=" + id +
        ", ExpCode=" + ExpCode +
        ", ExpName=" + ExpName +
        ", DelMark=" + DelMark +
        "}";
    }
}
